<html>
<head>
<title>LEA: Spain: SAS Data Input Program and Codebook '82</title>
</head>
<body>
<pre>
data e;
  filename e 'spain82.dat';
  infile e;
  length province $ 25;
  input seats 1-2 party $ votes province numelec vemitido validos mag;
 *seats = n of seats won by this party in this province;
 *votes = n of votes won by this party in this province;
 *numelec = n of electors in this province;
 *vemitido = n of ballots cast in this province;
 *validos = n of valid ballots cast in this province;
 *mag = district magnitude, n of seats available in this province;
  if seats=. then seats=0;
run;

</pre>
</body>
</html>
